<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加低碳资讯</title>
    <link th:href="@{/css/bootstrap.css}" rel="stylesheet">
</head>
<body>
    <div style="width:800px;height:100%;margin-left:300px;margin-top:100px;">
        <form id="article_form" th:action="@{/carbon/insert}" method="post">
            资讯标题：<input class="form-control" type="text" th:value="${title}" name="title"><br>
            资讯描述：<input class="form-control" type="text" th:value="${description}" name="description"><br>
            资讯内容：<input class="form-control" type="text" th:value="${content}" name="content"><br>
            创建人：<input class="form-control" type="number" th:value="${createUser}" name="createUser"><br>
            <button class="btn btn-primary btn-lg btn-block">保存</button>
        </form>
    </div>
</body>
</html>